package ypmits.sound.totest {
	import flash.events.SampleDataEvent;
	import flash.media.Sound;

	/**
	 * @author Dave Lenz
	 */
	public class ASoundEffect {

		protected var _mp3 : Sound;
		protected var _sound : Sound;

		
		public function ASoundEffect( mp3 : Sound ) {
			_mp3 = mp3;
			
			_sound = new Sound();
			_sound.addEventListener( SampleDataEvent.SAMPLE_DATA, sampleDataHandler );
		}

		
		public function play() : void {
			_sound.play();
		}
		
		public function sampleDataHandler( event : SampleDataEvent ) : void {}
	}
}
